#include "debug.h"
#include "Led.h"

#ifdef DEBUG
 
static Timer_ts sDebugTimer;

static void DebugHook_1ms(U32 arg)
{
	extern void Test_IOToggle(void);
	Test_IOToggle();
	LedControl(eLED_REVERS,eLED_TOGGLE);
	LedControl(eLED_STOVE,eLED_TOGGLE);
}

void Debug_Init(void)
{
	Timer_Start(&(sDebugTimer), 1000, DebugHook_1ms, 0); 
}

#endif
